// index.js
import { createRouter, createWebHistory } from "vue-router"

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "/add",
      component: () => import("../views/addVue.vue")
    },
    {
      path: "/red",
      component: () => import("../views/redVue.vue")
    }
  ]
})

export default router
